Rewrite rule Mod_Proxy truncate file name [duplicate]
Posted
by
Valerio Cicero
on Server Fault
See other posts from Server Fault
or by Valerio Cicero
Published on 2014-06-03T07:57:16Z
Indexed on
2014/06/05
9:29 UTC
Read the original article
Hit count: 386
This question already has an answer here:
I search online for the solution, but nothing :(.
I write this simple rule
RewriteRule ^(.*)$ http://www.mysite.com/$1 [P,NE,QSA,L]
In mysite.it i have an .htaccess with this rule and it's ok, but if i have a link
"http://www.mysite.it/public/file name.html"
the server point to "http://www.mysite.it/public/file"
I try many solution but i can't solve.
I try this and many shades of...
RewriteRule ^(.*)(%20)(.*)$ "http://www.mysite.com/$1$3" [P,NE,QSA,L]
Thanks!
© Server Fault or respective owner